package io.github.talelin.latticy.mapper;

import io.github.talelin.latticy.dto.rule.chargeItem.ChargePlanItemsDTO;
import io.github.talelin.latticy.model.ChargeItemDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.github.talelin.latticy.vo.ChargeItemVO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author generator@wulongbo
 * @since 2022-08-23
 */
public interface ChargeItemMapper extends BaseMapper<ChargeItemDO> {

    ChargeItemVO getChargeItemVOById(Integer id);

    List<ChargePlanItemsDTO> getItemsByChargePlanById(Integer chargePlanId);
}
